#include "CNewsDetailsWidget.h"

CNewsDetailsWidget::CNewsDetailsWidget(QWidget *parent)
	: QWebEngineView(parent)
	, ui(new Ui::CNewsDetailsWidgetClass())
{
	ui->setupUi(this);
	resize(1200, 1246);
}

CNewsDetailsWidget::~CNewsDetailsWidget()
{
	delete ui;
}

void CNewsDetailsWidget::closeEvent(QCloseEvent* event)
{
	emit NewsDetailsClose();
	QWebEngineView::closeEvent(event);
}